package lormi.meipin.dao;

import lormi.meipin.entity.InvitationLog;
import lormi.meipin.entity.WeiXinCode;
import org.springframework.stereotype.Repository;

@Repository
public interface InvitationLogMapper {
	
	/**
	 * 插入邀请日志
	 * @param record
	 * @return
	 */
    int insert(InvitationLog record);

    /**
     * 查询邀请用户进入的邀请码
     * @param openID
     * @return
     */
    WeiXinCode selectWeiXinCode(String openID);
}